<?php 
use com\soka as soka;
class Login_Mdl extends soka\SokaModel
{
	public function verify($user, $pass)
    {
        try {
            $stm = $this->_db->prepare("CALL sp_login('{$user}', '{$pass}')");
            $stm->execute();
        } catch (\PDOException $e) {
            $e->getMessage();
        }
        return $stm->fetch(\PDO::FETCH_ASSOC);
	}
    
	public function forgotAcount(){
                
    }
} 